<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
  <meta charset="UTF-8">
  <title>文明实践所详情</title>
  <meta name="page-view-size" content="1280*720">
  <link rel="stylesheet" href="../css/base.css">
  <link rel="stylesheet" href="../css/common.css">
  <script type="text/javascript" src="../lib/js/evm.js"></script>
  <script type="text/javascript" src="../lib/js/Evm_djyw.js"></script>
  <script type="text/javascript" src="../lib/js/key.js"></script>
  <script src="../lib/js/jquery-1.11.1.min.js" type="text/javascript" charset="utf-8"></script>
  <script src="../lib/js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
  <script src="../js/api.js" type="text/javascript" charset="utf-8"></script>
  <script src="../js/public.js" type="text/javascript" charset="utf-8"></script>
  <style>
    .wordDetail-bg {
      width: 1280px;
      height: 720px;
      background: url(../images/bg-1.png) no-repeat left top;

    }

    .model {
      box-sizing: border-box;
      border: 3px solid transparent;
    }

    #wordDetailBody {
      position: absolute;
      top: 127px;
      left: 60px;
      width: 1160px;
      height: 400px;
      /* background: rgba(255, 255,255,.1); */
      color: white !important;
      border-radius: 15px;
      /* background: rgba(39, 79, 193, .1); */
    }

    #wordDetailBody>#modelImg {
      top: 79px;
      left: 38px;
      width: 222px;
      height: 233px;
      border: 3px solid rgba(255, 255, 255, 0.2);
      position: relative;
      float: left;
    }

    #wordDetailBody>#modelImg>.alearts {
      position: absolute;
      width: 100%;
      text-align: center;
      font-size: 20px;
      background: rgba(255, 255, 255, 0.5);
      height: 40px;
      line-height: 40px;
      border-radius: 0px 0px 10px 10px;
      bottom: 0;
    }

    #wordDetailBody>#modelImg>img {
      height: 100%;
      width: 100%;
    }

    .active {
      /* border: solid 3px lightgreen !important; */
      /* border-radius: 10px; */
    }

    #detailContain {
      color: white;
      line-height: 35px;
      font-size: 26px;
      position: absolute;
      top: 0;
      right: 0;
      width: 1050px;
      height: 400px;
      overflow: hidden;
      text-indent: 2rem;
      /* padding: 20px 30px; */
      width: 621px;
      background: rgba(0, 0, 0, .3);
    }

    .title {
      width: 100%;
      font-size: 32px;
      margin-top: 15px;
      margin-bottom: 15px;
      /* position: absolute; */
      /* left: 36px; */
      /* border: 1px solid red; */
      text-align: center;
      height: 36px;
      overflow: hidden;
    }

    .time {
      width: 1050px;
      font-size: 20px;
      top: 41px;
      position: absolute;
      left: 36px;
      /* border: 1px solid red; */
      text-align: right;
      /* color: #333 */
    }

    .erweima {
      width: 100px;
      height: 90px;
      position: absolute;
      top: 28px;
      left: 938px;
    }

    .pic {
      width: 100%;
      height: 100%;
    }

    .bottom-title {
      position: absolute;
      top: 120px;
      left: 938px;
      color: white;
    }

    .left-border {
      width: 527px;
      height: 395px;
      background: rgba(0, 0, 0, .3);
      border-radius: 10px;
      /* border: 1px solid rgba(112, 112, 112, 1); */
    }

    .left-border>img {
      width: 100%;
      height: 100%;
      border-radius: 10px;
    }

    .detailRow {
      margin-bottom: 10px;
      width: 100%;
      overflow: hidden;
    }

    .detailRow>span:first-child {
      font-size: 24px;
      width: 120px;
      /* font-weight: bold; */
      line-height: 36px;
      /* letter-spacing: 1px; */
    }
  </style>
</head>

<body>
  <marquee behavior="" direction="">欢迎您进入金湖县新时代文明实践中心！</marquee>
  <div class="wordDetail-bg" id="wordDetailMain">

    <div id="wordDetailBody">
      <!-- <div class="title">
            </div>
            <div class="time">
            </div> -->
      <div class="left-border"><img src="" alt=""></div>
      <div class="model" id="detailContain">
        <div class="container" id="detail">
          <div class="title"></div>
          <div class="detailRow">
            <span class="detailName">联系人：</span>
            <span class="detailTxt people"></span>
          </div>
          <div class="detailRow">
            <span class="detailName">地&nbsp;&nbsp;&nbsp;址：</span>
            <span class="detailTxt address"></span>
          </div>
          <div class="detailRow">
            <span class="detailName">电&nbsp;&nbsp;&nbsp;话：</span>
            <span class="detailTxt phone"></span>
          </div>
          <div class="detailRow">
            <span class="detailName">成&nbsp;&nbsp;&nbsp;员：</span>
            <span class="detailTxt member">

            </span>
          </div>
          <div class="detailRow">
            <span class="detailName">内&nbsp;&nbsp;&nbsp;容：</span>
            <span class="detailTxt content">

            </span>
          </div>
          <!-- <div class="content" id="content">


          </div> -->
        </div>
      </div>
    </div>
  </div>
</body>
<script>
  var modelIndex = {
    disUser: true,
    // isVideo: true,
    index: 0, //初始位置
    listName: 'model', //模块名称
    containerId: 'wordDetailBody', //包含模块的标签id
    thisContain: 'detailContain', //翻滚外容器
    thisDetail: 'detail', //翻滚内容
  }

  // setTimeout(function () {
  //   direOpt(1, 'down')
  // }, 500);

  TV.structure('文明实践所')
  var articleRun;
  var photos;

  function direOpt(index, directive) {
    if (directive == "up") { //上
      TV.articleMove(directive, modelIndex.thisContain, modelIndex.thisDetail);
    } else if (directive == "down") { //下
      TV.articleMove(directive, modelIndex.thisContain, modelIndex.thisDetail);
    }
    return index;
  }

  function getMessage() {
    var param = {
      id: TV.GetParam('id'),
      // area_id: $.cookie('TV_CST_AREA')
    }
    GetDatas('suoAreaInfo', param, function (err, res) {
      var mess = res.data;
      if(mess.member){
        $('.member').html(mess.member)
      }else{
        $('.member').html('暂无')
      }
      if(mess.master){
        $('.people').html(mess.master)
      }else{
        $('.people').html('暂无')
      }
      if(mess.content){
        $('.content').html(mess.content)
      }else{
        $('.content').html('暂无')
      }
      if(mess.contacter){
        $('.phone').html(mess.contacter)
      }else{
        $('.phone').html('暂无')
      }
      $('.title').html(mess.name)
      // $('.people').html(mess.master)
      $('.address').html(mess.mergename)
      
      if(mess.img){
        $('.left-border>img').attr('src', API_URL['imgURL'] + mess.img)
      }else{
        $('.left-border>img').attr('src', '../images/base.png')
      }
      

    })
  }
  getMessage();

  function direEnter(index) {
    clearInterval(articleRun);
  }
</script>
<script type="text/javascript" src="../js/index.js"></script>

</html>